package com.example.JavaWebApi.model.configmodel;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: java-web-api
 * @description: 阿里云配置
 * @author: 杨泽
 * @create: 2023-07-06 16:26
 */
@Data
@Component
@ConfigurationProperties(prefix = "oss")
public class OssConfig {
    private String aliyunOssKeyId;
    private String aliyunOssKeySecret;
    private String aliyunOssBucket;
    private String aliyunOssLocation;
    private String aliyunOssEndponit;
    private String aliyunOssPath;
    private String imageHost;
    private String otherHost;
}